package com.github.zzay.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zzay
 * @className AdminDto
 * @description DTO class of entity "Admin".
 * @create 2022/07/04 22:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminDto implements Serializable {

    private static final long serialVersionUID = -4484686344704450831L;

    /**
     * Username.
     */
    @Schema(name = "username", description = "用户名")
    private String username;

    /**
     * Password.
     */
    @Schema(name = "password", description = "密码")
    private String password;

    /**
     * Email address.
     */
    @Schema(name = "email", description = "邮箱")
    private String email;

}
